<?php

namespace app\admin\model;

use app\api\model\User;
use app\common\model\TimeModel;

class Sign extends TimeModel
{

    protected $name = "sign";

    protected $deleteTime = "delete_time";

    /**
     * 一个用户对应多个签到
     */
    public function user()
    {
        return $this->belongsTo(User::class,'user_id','id');
    }

}